import axios from "axios";
const http = axios.create({
  baseURL: "https://api.it120.cc/small4",
  //这是严选商城的基本路径
  timeout: 50000,
});
http.interceptors.request.use(
  (config) => {
    return config;
  },
  (err) => {
    return Promise.reject(err);
  }
);

http.interceptors.response.use(
  (res) => {
    return res;
  },
  (err) => {
    return Promise.reject(err);
  }
);
export default http;
